@import 'common';

#print p{
  margin: 20px auto auto;
  text-align: center;
}


img{
  display: block;
  //width: 100%;
  line-height: 0;
}
.cheImg image{
  //transform: rotate(50deg);
}
input{
  width: 100%;
  background-color: transparent;
  outline: 0;
  border: 0;
}
.content {
  position: relative;
  font-size: 12px;
  width: 100%;
  height: 100%;
  background-color: #051627;
}
#print{

  // height: 1200px;
  // width: 1920px;
  width: 100vw;
  height: 100vh;
}

.box {

  position: relative;
  display: flex;
  flex-direction: column;
  background-image: url(../img/header.png);
  background-size: 100% auto;
  background-position: top;
  background-repeat: no-repeat;
  color: $mainColor;
  overflow: hidden;
}
.svg-img{
  width: 100%;
}
.header-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
  padding-left: 12px;
  padding-right: 30px;
  background-image: url("../img/header.png");
  background-size: 100% auto;
  background-position: top center;
  .main-img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 1023px;
  }

  .title-box {
    width: 54.52vw;
    // width: 1048px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .header-main-box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;

    span {
      width: 1px;
      margin-right: 4px;
      height: 15px;
      background-color: $mainColor;
    }
    img {
      width: 26px;
    }
  }

  .name-box {
    padding: 0 16px;
  }
}

.tips-box {
  display: flex;
  align-items: center;
  height: 35px;
  padding: 0 12px;
  background-color: rgba(28, 32, 39, .5);
  .tips{
    width: 299px;
    height: 24px;
    padding: 0 12px;
    margin-right: 24px;
    line-height: 24px;
    border-width: 1px;
    border-color: rgb(73, 92, 124);
    border-style: solid;
    background-color: rgb(0, 0, 0);
  }
  #android{
    display: flex;
    align-items: center;
    >div{
      display: flex;
      align-items: center;
    }
    p{
      display: flex;
      align-items: center;
      width: 20px;
      height:20px;
      margin:0 4px 0;
      background-image: url("../img/battery.png");
      background-size: 100%;
      padding-left: 1px;
      padding-right: 3px;
      &.power {
        background-image: url("../img/power.png");
        i{
          background-color: #e60f2e;
        }
      }
      i{
        display: block;
        line-height: 24px;
        width: 100%;
        height:4px;
        background-color: #fff;
      }
    }
  }
}

.select-box {
  position: relative;
  margin-right: 30px;
  border: 1px solid rgb(73, 92, 124);
  background-color: rgb(0, 0, 0);
  width: 299px;
  height: 29px;
  padding: 0 24px 0 8px;
  line-height: 30px;

  input {
    height: 30px;
  }

  &::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 13px;
    height: 12px;
    transform: translateY(-50%);
    background-image: url(../img/triangle.png);
    background-size: 100%;
  }
}

.operate-box {
  position: relative;
  width: 100%;
  //padding-left: 30px;
  .btn-list {

    width:  calc(100% - 20px);
    padding: 10px 0;
    margin: auto;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-image: url("../img/operate-bg.png");
    background-size: 100% 100%;
    //transform: translateY(-50%);
    //padding: 10px 14px 35px;
    .btn-box{
      position: relative;
      padding: 0 40px;
      &.active{
        .btn{
          color: #051627;
        }
      }
      &:nth-child(5n+1){
        &.active{
          .btn{
            background-image: url("../img/btn-charge.png");
          }
        }
      }
      &:nth-child(5n+2){
        &.active{
          .btn{
            background-image: url("../img/btn-stop.png");
          }
        }
      }
      &:nth-child(5n+3){
        &.active{
          .btn{
            background-image: url("../img/btn-emergencyStop.png");
          }
        }
      }
      &:nth-child(5n+4){
        &.active{
          .btn{
            background-image: url("../img/btn-appoint.png");
          }
        }
      }
      &:nth-child(5n){
        &:after{
          content: '';
          position: absolute;
          right: 0;
          top: 50%;
          background-color: rgba(102,251,249, .3);
          width: 1px;
          height: 45px;
          transform: translateY(-50%);
        }
        &.active{
          .btn{
            background-image: url("../img/btn-stop.png");
          }
        }
      }

      &:before{
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        background-color: rgba(102,251,249, .3);
        width: 1px;
        height: 45px;
        transform: translateY(-50%);
      }
      &:last-child{
        button{

        }
      }
    }
    .btn {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      width: 100px;
      height: 100px;
      padding: 0;
      background-color: transparent;
      border: 0;
      color: #8aa3b6;
      font-size: 22px;
      line-height: 1.2;
      background-image: url("../img/btn-bg.png");
      background-repeat: no-repeat;
      background-size: 100%;
      letter-spacing: 6px;
      text-align: center;
      font-weight: 600;
    }

  }

  .left-box {
    position: absolute;
    top: 50%;
    left: 0;

    image {
      display: none;
      width: 17px;
    }
  }

  .order-list {
    width: 100%;

    .order-main {
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 5px;
      background-color: rgb(0, 0, 0);
      width: 100%;
      height: 100px;
      img {
        width: 50px;
        margin: 0 10px;
      }


      .operate-details{
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 28px;
        font-size: 16px;
        color: #fff;
        &.active div{
          background-color: #00a7ff;
        }
        div{

          min-width: 102px;
          padding: 0 10px;
          height: 27px;
          border-radius: 5px;
          background-color: rgb(183, 125, 12);
          text-align: center;
        }
        &:last-child{
          img{
            display: none;
          }
        }
        span{
          font-size: 12px;

        }
      }
    }
    .order-btn-box{
      display: none;
    }
    .order-btn{
      display: flex;
      align-items: center;
      justify-content: center;
      height: 60px;
      width: 100%;
      div {
        border-radius: 4px;
        background-color: rgb(138, 163, 182);
        width: 70px;
        height: 28px;
        margin: 0 20px;
        line-height: 28px;
        font-size: 16px;
        text-align: center;
        color: #3a4454;
        &:first-child{
          color: #fff;
          background-color: #00a7ff;
        }
      }

    }
  }
}

.main-box {
  //margin: 38px 0;
  position: relative;
  .svg-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .btn-box {
    margin-bottom: 20px;
    margin-right: 20px;

    .btn {
      border-width: 1px;
      border-color: rgb(138, 163, 182);
      border-style: solid;
      border-radius: 5px;
      background-color: rgb(14, 40, 67);
      width: 178px;
      height: 48px;
      color: #8aa3b6;
      &.active {
        border: 0;
        background-color: #00a7ff;
        color: #fff
      }
    }

  }
}


.order-box {
  width: 1900px;
  padding: 16px 30px;
  margin: 0 auto;
  border-width: 1px;
  border-color: rgb(138, 163, 182);
  border-style: solid;
  border-radius: 5px;
  background-color: rgb(0, 0, 0);


}

.btn-show {
  display: flex;
  align-items: center;
  justify-content: center;
  //width: 100%;
  button {
    display: inline-block;
    width: 74px;
    height: 30px;
    margin: 0 0 0 40px;
    line-height: 30px;
    border-radius: 4px;
    background-color: rgb(138, 163, 182);
    color: #3a4454;

    &:first-child {
      background-color: rgb(0, 167, 255);
      color: #fff;
    }
  }


}

//.mui-popper, {
//  transform: rotate(90deg) !important;
//  transform-origin: 50% 50%!important;
//}
.btn-span {
  span {
    border-radius: 4px;
    background-color: rgb(0, 167, 255);
    padding: 4px 24px;
    color: #fff;
    &.unbind,&.del{
      background-color: #8aa3b6;
      color: #3a4454;
    }
  }
}
